import request from "../utils/request";

/**
 * @param {Object} data
 * 用户登录
 */
export function login(data) {
	return request({
		url: 'WeChat/Merchant_Login_Pass',
		method: "POST",
		data: data,
	});
};

/**
 * @param {Object} data
 * 检查登录
 */
export function checkLogin(data){
	return request({
		url:'WeChat/Merchant_CheckLogin_ByPass',
		method:'GET',
		data:data,
	});
}